package com.example.common;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author itheima
 */
@Data
public class PageInfo<T> implements Serializable {
    private List<T> records;
    /**
     * 总条数（在公司数值可能很大，所以用Lone类型）
     */
    private Long total;
    private Integer current;
    private Integer pages;
    private Integer size;
    private List<T> orders;
    private boolean optimizeCountSql;
    private boolean hitCount;
    private String countId;
    private String maxLimit;
    private boolean searchCount;

}
